package com.hanliukui.ai.langchain4j.assistant.xiaozhi;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import reactor.core.publisher.Flux;

import java.util.Date;

public interface XiaoziChatAssistant {

    @SystemMessage(fromResource = "xiaozhi-prompt-template.txt")
    Flux<String> chat(@MemoryId String memoryId, @UserMessage String message, @V("current_date") Date date);
}
